<?php

class Zend_View_Helper_Url
{
	public function url($id)
	{		
		$item = new CItem();
        $itemArray = $item->getDetail($id,'product');	
		return MY_URL . '/new-jersey-soccer-'. $id . '-'.preg_replace('/[^0-9a-zA-Z]+/','-',$itemArray[0]['subject']).'.html';
	}

}

